package inner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Cleaner {
    private String name="老吴";
    public void self(){
        System.out.println("我叫"+name+"是个轻快的保洁");

    }
    public void doClean(String roomNo){
        System.out.println(name+"准备清洁"+roomNo);
        String time="2022-5-16";
        class Xicq{
            private String brand;
            private int watt;
            public Xicq(String b,int w){
                this.brand=b;
                this.watt=w;
            }
            public void work(){
                System.out.println("now时间是："+time);
                System.out.println(name+"保洁使用"+brand+"牌子的吸尘器开始工作，清洁"+roomNo+"客房");
            }
        }
        Xicq x=new Xicq("海尔",49);
        x.work();
    }

    public static void main(String[] args) {
        Cleaner c=new Cleaner();
        c.doClean("儒家快捷 409");
    }
}
